package com.lin.mapper;

import com.lin.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> listUser();

    User selectUserById(Integer id);

    int insertUser(User user);


    int deleteUserById(Integer id);


    int updateUser(User user);


}
